/**
 * Created by V5470-I5 on 2016/4/8.
 */
public class ZhiShu {
    public  static void main (String[] args) {
        ZhiShu zhiShu = new ZhiShu(100, 5);
    }
    public ZhiShu(int n,int k){
        if(n<=1){
            System.out.println("n必须大于等于2");
            System.exit(0);
        }
        for(int i=2;i<n;i++){
            if(i%2!=0){
                k++;
                System.out.print(i+"\t");
                if(k%5==0){
                    System.out.println();
                }
            }
        }
    }
}
